const { resolve } = require('path')
module.exports = {
  'db': 'mongodb://localhost/avideo',
  'server': {
    HOST: 'localhost',
    PORT: 3009,
    apiPreFix: '/api/v0',
    fileSavePath: resolve(__dirname, '../', 'resources/upload'),
    SIGN_KEY: 'meishuchun'
  },
  // 七牛配置
  'qiniu': {
    'bucket': 'avideo',
    'baseUrl': 'http://p5icauknh.bkt.clouddn.com/',
    'AK': 't7_qHQ0hDd4XYLISmC5lyf0xyhQqylmipAFB3Qxm',
    'SK': '2tfy3CZKct0EEdZr-i9peg4WlIGtSj8b3Goip-48'
  },
  'userAdminDefault': {
    userName: 'admin',
    password: '123454321'
  },
  // 默认用户
  'userDefault': {
    nickname: 'MSC',
    password: '123454321',
    email: '956164483@qq.com'
  },
  // 邮件设置
  'mailer': {
    user: 'likevideo@163.com',
    pass: 'likevideo0043934',
    from: 'likevideo <likevideo@163.com>' // 发送者
  }
}